package com.dqyz.busi.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.dqyz.common.annotation.Excel;
import com.dqyz.common.core.domain.BaseEntity;

/**
 * 方案管理对象 rac_race_schema
 * 
 * @author wangguan
 * @date 2024-09-27
 */
public class RaceSchema extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 赛事方案名称 */
    @Excel(name = "赛事方案名称")
    private String schemaName;

    /** 赛制 */
    @Excel(name = "赛制")
    private String format;

    /** 收费价格 */
    @Excel(name = "收费价格")
    private BigDecimal price;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSchemaName(String schemaName) 
    {
        this.schemaName = schemaName;
    }

    public String getSchemaName() 
    {
        return schemaName;
    }
    public void setFormat(String format) 
    {
        this.format = format;
    }

    public String getFormat() 
    {
        return format;
    }
    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("schemaName", getSchemaName())
            .append("format", getFormat())
            .append("price", getPrice())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
